import React, { Component } from 'react';
import Storage from '@/utils/storage.js'


class index extends Component {
    render() {
        return (
            <div>
                用户登录
                <hr />
                <button onClick={() => {
                    Storage.set('islogin', 1)
                    this.props.history.push('/')
                }}>进入系统</button>
            </div>
        );
    }
}

export default index;
